package com.tecklab.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data

//@AllArgsConstructor
//@NoArgsConstructor
@TableName("employee")
public class EmployeeEntity {

    private Integer id;

    private String name;

//    private String phone;

//    private Integer age;

    private String address;

    private Integer departmentId;

    //
    @TableField(exist = false)
    private String departmentName;


}
